package com.atmilan.quartz.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.atmilan.quartz.mapper.XyyProductSkuMapper;
import com.atmilan.quartz.model.entity.xyy.XyyProductSku;
import com.atmilan.quartz.service.IXyyProductSkuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

@Service
public class XyyProductSkuServiceImpl extends ServiceImpl<XyyProductSkuMapper, XyyProductSku> implements IXyyProductSkuService {
    @Autowired
    XyyProductSkuMapper xyyProductSkuMapper;

    @Override
    public void deleteAll() {
        xyyProductSkuMapper.deleteAll();
    }
    
    @Override
    public void copyAll() {
        xyyProductSkuMapper.deleteProductSkuBack();
        xyyProductSkuMapper.copyProductSkuBack();
    }

}
